<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题库名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" placeholder="请输入题库名称" data-rule="required"
                   class="form-control"
                   name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题库编码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" placeholder="请输入题库编码，参考行业标准编码，非必填"
                   class="form-control" name="row[code]" type="text" value="{$row.code}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('课程介绍')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" class="form-control" rows="5"
                      placeholder="请输入题库介绍：
                      例如题库用于XX学习XX考试，
                      例如题库用于XX单位XX考试，
                      非必填内容，填写有助于获得官方相应资金扶持计划">{$row.desc}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('课程备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control" rows="5"
                      placeholder="请输入备注信息">{$row.remark}</textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
